

const requireAll = (requireContext: any) => requireContext.keys().map(requireContext)
const req = require.context('@/assets/icons', true, /\.svg/)
requireAll(req)